home *** CD-ROM | disk | FTP | other *** search
- object frmAnimation: TfrmAnimation
- Left = 275
- Top = 195
- BorderIcons = [biSystemMenu, biHelp]
- BorderStyle = bsDialog
- Caption = 'Dynamic HTML Animation'
- ClientHeight = 397
- ClientWidth = 485
- Color = clBtnFace
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- OldCreateOrder = True
- Position = poScreenCenter
- Scaled = False
- OnCreate = FormCreate
- OnDestroy = FormDestroy
- OnShow = FormShow
- PixelsPerInch = 96
- TextHeight = 13
- object Bevel2: TBevel
- Left = 0
- Top = 0
- Width = 485
- Height = 362
- Align = alClient
- Style = bsRaised
- end
- object Label1: TLabel
- Left = 130
- Top = 8
- Width = 347
- Height = 43
- AutoSize = False
- Caption =
- 'Using the Dynamic HTML features of the newer Web browsers, you c' +
- 'an create some stunning animations. Here you'#39'll be able to rapi' +
- 'dly create some of these animations for yourself.'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object Label2: TLabel
- Left = 130
- Top = 150
- Width = 90
- Height = 13
- Hint =
- 'This is the entity which will be animated. It can be a HTML bloc' +
- 'k or plain text.'
- Caption = 'Object to animate:'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- end
- object Label3: TLabel
- Left = 130
- Top = 237
- Width = 76
- Height = 13
- Hint = 'Choose the type of entity animation.'
- Caption = 'Animation type:'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- end
- object PaintBox1: TPaintBox
- Left = 9
- Top = 8
- Width = 113
- Height = 209
- OnPaint = PaintBox1Paint
- end
- object Label4: TLabel
- Left = 130
- Top = 107
- Width = 342
- Height = 13
- Hint =
- 'Enter any name here to uniquely identify the entity to be animat' +
- 'ed.'
- Caption =
- 'Object Name (must be unique on this page and must start with a l' +
- 'etter)'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- WordWrap = True
- end
- object Label5: TLabel
- Left = 130
- Top = 57
- Width = 349
- Height = 42
- AutoSize = False
- Caption =
- 'Note: To change the effect for an existing animated object, sele' +
- 'ct the <SPAN ID="xxx">...</SPAN> range of HTML before invoking t' +
- 'his dialog.'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object groupInteractor: TGroupBox
- Left = 130
- Top = 281
- Width = 349
- Height = 75
- TabOrder = 5
- object Label7: TLabel
- Left = 4
- Top = 13
- Width = 343
- Height = 31
- AutoSize = False
- Caption =
- 'If you wish to create your own Dynamic HTML, then you can use In' +
- 'teractor, which is a powerful graphical Dynamic HTML editor.'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object buttInteractor: TSpeedButton
- Left = 134
- Top = 48
- Width = 80
- Height = 22
- Hint = 'Use Mbed Interactor'
- Caption = 'Interactor'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- OnClick = buttInteractorClick
- end
- end
- object txtJavascript: TMemo
- Left = 9
- Top = 316
- Width = 40
- Height = 25
- TabStop = False
- Lines.Strings = (
- ''
- '<STYLE TITLE="Animation" TYPE="text/css">'
- '<!--'
- '-->'
- '</STYLE>'
- ''
- '<SCRIPT LANGUAGE="JavaScript1.2">'
- '<!--'
- ' // Scripting added by Sausage Software'#39's HotDog %s'
- ' if (navigator.appName == "Netscape") {'
- #9'refDoc = "document.";'
- #9'refStyle = "";'
- #9'refLeft = ".left";'
- #9'refTop = ".top";'
- ' }'
- ' else {'
- #9'refDoc = "document.all.";'
- #9'refStyle = ".style";'
- #9'refLeft = ".posLeft";'
- #9'refTop = ".posTop";'
- ' }'
- ''
- ' function ssg(s,k) {'
- ' var sl=s.length>>1;'
- ' var kl=k.length;'
- ' var tmp;'
- ' for(ss='#39#39',i=0; i<sl; i++) {'
- ' tmp=i<<1;'
-
- ' ss+=String.fromCharCode(eval("0x"+s.charAt(tmp)+s.charAt(t' +
- 'mp+1))^k.charCodeAt(i%kl));'
- ' }'
- ' return ss;'
- ' }'
- ''
-
- ' window.status="Please wait, generating DHTML animation code...' +
- '";'
- ' document.write('#39'<SCRIPT LANGUAGE="JavaScript1.2">'#39');'
- ' document.write(ssg("blah", "HotDog4"));'
- ' document.write('#39'</SCRIPT>'#39');'
- '//-->'
- '</SCRIPT>'
- ''
- '<SCRIPT LANGUAGE="JavaScript">'
- '<!--'
- ' function initAnimation() {'
- ' // Only run DHTML animation if newer browser is being used.'
- ' if (navigator.appVersion.indexOf('#39'4'#39') != -1){'
- ' // %HOTDOG_ANIM_BEGIN% - DO NOT REMOVE OR EDIT THIS LINE !'
- ' // %HOTDOG_ANIM_END% - DO NOT REMOVE OR EDIT THIS LINE !'
- ' }'
- ' }'
- '//-->'
- '</SCRIPT>')
- TabOrder = 4
- Visible = False
- WordWrap = False
- end
- object cmbAnimType: TComboBox
- Left = 130
- Top = 251
- Width = 347
- Height = 21
- HelpContext = 162
- Style = csDropDownList
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ItemHeight = 13
- ParentFont = False
- Sorted = True
- TabOrder = 2
- end
- object txtHTML: TMemo
- Left = 56
- Top = 316
- Width = 41
- Height = 25
- TabStop = False
- Lines.Strings = (
-
- '<p dynamicanimation="flyBottom" style="position: relative !impor' +
- 'tant; left: 10000 !important">'
-
- '<p dynamicanimation="flyTop" style="position: relative !importan' +
- 't; left: 10000 !important">'
-
- '<p dynamicanimation="flyLeft" style="position: relative !importa' +
- 'nt; left: 10000 !important">'
-
- '<p dynamicanimation="flyRight" style="position: relative !import' +
- 'ant; left: 10000 !important">'
-
- '<p dynamicanimation="flyBottomLeft" style="position: relative !i' +
- 'mportant; left: 10000 !important">'
-
- '<p dynamicanimation="flyBottomRight" style="position: relative !' +
- 'important; left: 10000 !important">'
-
- '<p dynamicanimation="flyTopLeft" style="position: relative !impo' +
- 'rtant; left: 10000 !important">'
-
- '<p dynamicanimation="flyTopRight" style="position: relative !imp' +
- 'ortant; left: 10000 !important">'
-
- '<p dynamicanimation="flyTopRightWord" style="position: relative ' +
- '!important; left: 10000 !important">'
-
- '<p dynamicanimation="flyBottomRightWord" style="position: relati' +
- 've !important; left: 10000 !important">'
-
- '<p dynamicanimation="dropWord" style="position: relative !import' +
- 'ant; left: 10000 !important">'
-
- '<p dynamicanimation="spiral" style="position: relative !importan' +
- 't; left: 10000 !important">'
-
- '<p dynamicanimation="zoomIn" style="position: relative !importan' +
- 't; left: 10000 !important">'
-
- '<p dynamicanimation="zoomOut" style="position: relative !importa' +
- 'nt; left: 10000 !important">')
- TabOrder = 3
- Visible = False
- WordWrap = False
- end
- object txtSelText: TMemo
- Left = 130
- Top = 166
- Width = 347
- Height = 65
- HelpContext = 161
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- TabOrder = 1
- end
- object txtEntityName: TEdit
- Left = 130
- Top = 121
- Width = 347
- Height = 21
- HelpContext = 160
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- MaxLength = 16
- ParentFont = False
- TabOrder = 0
- end
- object pnlBase: TPanel
- Left = 0
- Top = 362
- Width = 485
- Height = 35
- Align = alBottom
- TabOrder = 6
- object btnHelp: TButton
- Left = 5
- Top = 6
- Width = 75
- Height = 25
- Caption = '&Help'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- TabOrder = 0
- OnClick = btnHelpClick
- end
- object btnOK: TButton
- Left = 324
- Top = 6
- Width = 75
- Height = 25
- Caption = '&OK'
- Default = True
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- TabOrder = 1
- OnClick = btnOKClick
- end
- object btnCancel: TButton
- Left = 404
- Top = 6
- Width = 75
- Height = 25
- Cancel = True
- Caption = '&Cancel'
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- TabOrder = 2
- OnClick = btnCancelClick
- end
- end
- end
-